package com.cqut.forum.service;

import java.util.List;
import java.util.Map;

import com.cqut.forum.entity.Messages;

public interface MessageService {
	
	public List<Map<String, Object>> getMessages(int userId,int index,int size);
	
	public boolean haveReadMyMessages(int userId,String moduleName);
	
	public Messages getMessageById(int messageId);
	
	public Messages updateMessage(Messages message);
	
	public Messages saveMessage(Messages message);
	
}
